
<?php

use yii\bootstrap5\Html;

/** @var yii\web\View $this */
/** @var app\models\Issue $model */

$contact = $model->contact;

$this->title = Yii::t('app', 'Create');
$this->params['breadcrumbs'][] = ['label' => Yii::t('app', 'Contact'), 'url' => ['contact/index']];
$this->params['breadcrumbs'][] = ['label' => $contact->name, 'url' => ['contact/view', 'id' => $contact->id]];
$this->params['breadcrumbs'][] = ['label' => Yii::t('app', 'Issue'), 'url' => ['issue/of-contact', 'contactId' => $contact->id]];
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="issue-create">

    <h1><?= Html::encode($this->title) ?></h1>

    <?= $this->render('/issue/_form', [
        'model' => $model,
    ]) ?>

</div>
